QT       += core gui
QT += sql
QT += network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    dia_addfood.cpp \
    dishrequest.cpp \
    foodcontroller.cpp \
    foodsql.cpp \
    foodtypecontroller.cpp \
    fridgecontroller.cpp \
    jsoncpp.cpp \
    loginpage.cpp \
    loginrequest.cpp \
    main.cpp \
    mainwindow.cpp \
    recommend.cpp \
    remind.cpp \
    request.cpp \
    storage.cpp \
    unitcontroller.cpp

HEADERS += \
    dia_addfood.h \
    dishrequest.h \
    foodcontroller.h \
    foodsql.h \
    foodtypecontroller.h \
    fridgecontroller.h \
    json/json-forwards.h \
    json/json.h \
    loginpage.h \
    loginrequest.h \
    mainwindow.h \
    recommend.h \
    remind.h \
    request.h \
    storage.h \
    unitcontroller.h

FORMS += \
    dia_addfood.ui \
    loginpage.ui \
    mainwindow.ui \
    recommend.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    resource.qrc
